<?php
namespace Common\Model;

use Think\Model;

class SmsModel extends Model
{
    public function getSms()
    {
        $sms = $this->find();
        return $sms;
    }

    public function addSms($data)
    {
        $this->where(array("id" => "1"))->save($data);
    }
}